* {
    margin: 0;
    padding: 0;
    /*静止选择文本*/
    -webkit-user-select: none;
}

body {
    background-color: #212121;
}

.top {
    width: 100%;
    height: 50px;
    background-color: #212121;
}

.scrollbar::-webkit-scrollbar {
    width: 6px;
}

.scrollbar::-webkit-scrollbar-track {
    background: #212121;
    border-radius: 2px;
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #606060;
    border-radius: 10px;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
    background: #1b1b1b;
}

.content {
    width: 70%;
    height: calc(100vh - 150px);
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior:smooth
}

.content .item {
    width: 100%;
    min-height: 50px;
    color: white;
    margin-bottom: 40px;
}

.content .item img{
    width: 32px;
}

.content .item .user {
    width: auto;
    max-width: 50%;
    height: auto;
    border-radius: 25px;
    float: right;
    background-color: #2f2f2f;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.content .item .ai {
    width: auto;
    max-width: 70%;
    height: auto;
    border-radius: 25px;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #2c2c2c6d;
    overflow-x: auto;
}

.type {
    position: absolute;
    bottom: 36px;
    width: 70%;
    left: 15%;
    height: auto;
}

.type .title {
    position: fixed;
    bottom: 0;
    width: 70%;
    height: 16px;
    text-align: center;
    font-size: 12px;
    color: #b4b4b4;
    margin: 8px;
}

.input {
    position: absolute;
    bottom: 36px;
    width: 70%;
    left: 15%;
    height: auto;
    margin: 0 auto;
    border-radius: 27px;
    background-color: #2f2f2f;
    transition: all 0.3s;
    min-height: 57px;
}

.input .in {
    width: calc(100% - 100px);
    height: auto;
    background-color: #2f2f2f;
    margin: 0 auto;
    border: none;
    outline: none;
    padding-top: 15px;
    transition: all 0.3s;
    color: aliceblue;
    line-height: 26px;
    max-height: 200px;
    overflow-y: auto;
}

.input .btn {
    position: absolute;
    right: 10px;
    top: 9px;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: #676767;
    transition: all 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input .btn:hover {
    background-color: #8f8f8f;
}

.input .btn:active {
    transform: scale(0.9);
    /*缩放中心*/
    transform-origin: center;
}

.cancel{
    opacity: 0.5;
    /*不可点击*/
    pointer-events: none;
    /*不可选中*/
    user-select: none;
}